package com.irun.ibuffet.model;
/***
 * @author huangsm
 * @date 2013-2-19
 * @email huangsanm@gmail.com
 * @desc 响应模型
 */
public class Response {

	//返回内容
	private String response;
	//返回代码
	private int code;
	//描述
	private String desc;
	
	public Response() {
	}
	
	public Response(String response, int code, String desc) {
		this.response = response;
		this.code = code;
		this.desc = desc;
	}
	public String getResponse() {
		return response;
	}
	public void setResponse(String response) {
		this.response = response;
	}
	public int getCode() {
		return code;
	}
	public void setCode(int code) {
		this.code = code;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	
	@Override
	public String toString() {
		return "response:" + response + ", code: " + code + ", desc:" + desc;
	}
	
}
